package org.jeecg.modules.inspection.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.inspection.entity.InspectionItem;
import org.jeecg.modules.inspection.entity.PinspectionItem;
import org.jeecg.modules.inspection.mapper.InspectionItemMapper;
import org.jeecg.modules.inspection.service.IInspectionItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 巡检项
 * @Author: jeecg-boot
 * @Date:   2019-09-19
 * @Version: V1.0
 */
@Service
public class InspectionItemServiceImpl extends ServiceImpl<InspectionItemMapper, InspectionItem> implements IInspectionItemService {
    @Autowired
    private InspectionItemMapper inspectionItemMapper;
    @Override
    public List<PinspectionItem> getAreaItem(String areaId ) {
        return inspectionItemMapper.getAreaItem(areaId);
    }
}
